package com.artisan.medium.wx.service;

import com.artisan.model.Customer;

import java.util.List;
import java.util.Map;

/**
 * Created by szw on 2017/6/15.
 */
public interface WxOrderService {

	public Map<String, Object> qOrderDetail(Integer tranId);

	public int cancelOrder(String orderN0);

	public String cancelOrderUnpay(String orderNo);

	public List<Map<String, Object>> qOrder(String openId, Integer type);

	public Map<String, List<Map<String, Object>>> qOrders(String openId);

	public void deleteOrder(String orderNo);

	public void confirmOrder(String orderNo);

	public Map<String, Object> qAssessLables();

	public Customer qCustomerByOrderNo(String orderNo);

	public void assess(Integer stars, String orderNo, String lableIds, String message);

	public int cancelOrderAndDeductMoney(String orderNo);
}
